/*
 * @(#)AbstractConnectorClass.java   09/10/15
 * 
 * Copyright (C) 2009 Ecole des Mines d'Ales
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Contact: yulinz88@gmail.com
 */



package fr.ema.arch3d.model.architecture.configuration;

import fr.ema.arch3d.model.architecture.specification.Connection;

//~--- classes ----------------------------------------------------------------

/**
 * Class description
 *
 *
 * @version 1.0, 09/09/16
 * @author Huaxi (Yulin) ZHANG
 */
public abstract class AbstractConnectorClass {

//    /** Field description */
//    private String clientCmpName;
//
//    /** Field description */
//    private String clientItfName;

    /** Field description */
    private AbstractConnectorType connectorType;

    /** Field description */
    private String implementation;

    /** the name of this connector class */
    private String name;

//    /** Field description */
//    private String serverCmpName;
//
//    /** Field description */
//    private String serverItfName;
    


    /**
     * Constructs...
     *
     * @param connectorType
     * @param name
     * @param clientCmpName
     * @param clientItfName
     * @param serverItfName
     * @param serverCmpName
     */
    public AbstractConnectorClass(String name, AbstractConnectorType connectorType, String implementation) {
        this.connectorType = connectorType;
        this.name          = name;
        this.implementation=implementation;
    }

    /**
     * Getter of the property <tt>implementation</tt>
     *
     * @return the implementation
     */
    public String getImplementation() {
        return implementation;
    }

    /**
     * Setter of the property <tt>implementation</tt>
     *
     * @param implementation the implementation to set
     */
    public void setImplementation(String implementation) {
        this.implementation = implementation;
    }

//    /**
//     * Getter of the property <tt>clientCmpName</tt>
//     *
//     * @return  the clientCmpName
//     */
//    public String getClientCmpName() {
//        return this.clientCmpName;
//    }

//    /**
//     * Getter of the property <tt>serverCmpName</tt>
//     *
//     * @return  the serverCmpName
//     */
//    public String getServerCmpName() {
//        return this.serverCmpName;
//    }

//    /**
//     * Getter of the property <tt>clientItfName</tt>
//     *
//     * @return  the clientItfName
//     */
//    public String getClientItfName() {
//        return this.clientItfName;
//    }

//    /**
//     * Getter of the property <tt>serverItfName</tt>
//     *
//     * @return  the serverItfName
//     */
//    public String getServerItfName() {
//        return this.serverItfName;
//    }

    /**
     * Getter of the property <tt>name</tt>
     *
     * @return Returns the name.
     *
     */
    public String getName() {
        return this.name;
    }

    /**
     * Setter of the property <tt>name</tt>
     *
     * @param name  the name to set.
     *
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter of the property <tt>connectorType</tt>
     *
     * @return Returns the connectorType.
     *
     */
    public AbstractConnectorType getConnectorType() {
        return connectorType;
    }

    /**
     * Setter of the property <tt>connectorType</tt>
     *
     * @param connectorType  the connectorType to set.
     *
     */
    public void setConnectorType(AbstractConnectorType connectorType) {
        this.connectorType = connectorType;
    }
}
